<%@ page import="v.Email" %><%--
  Created by IntelliJ IDEA.
  User: v
  Date: 17-3-23
  Time: 下午3:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>处理来自test2的请求</title>
</head>
<body>
<div align="center">
    <%
        String mailAdd=request.getParameter("mailAdd");
        Email email=new Email(mailAdd);

        if(email.isEmail()){
            out.println("这是一个正确的邮箱地址");
        }else{
            out.print("这不是一个正规的邮箱地址");
        }
    %>
</div>
</body>
</html>
